package com.lianniu.mgr.baseService.post.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName：PostController
 * @Description:岗位页面controller

 * @Since: 2016-3-24 17:58:56
 * @Version:1.0
 */
@Controller
public class PostController {
  
  /**
   * @Description：岗位列表页
   * @Param:HttpServletRequest
   * @Return:岗位列表页路径

   * @Date:2016-3-24 18:00:12
   */
  @RequestMapping("/postList")
  public String index(HttpServletRequest request) {
      return "/baseService/post/postList";
  }
  
  /**
   * @Description：增加岗位页面
   * @Param:HttpServletRequest
   * @Return:增加岗位页路径

   * @Date:2016-3-24 23:50:12
   */
  @RequestMapping("/postAdd")
  public String postAdd(HttpServletRequest request) {
      return "/baseService/post/postAdd";
  }
  
  /**
   * @Description：增加岗位保存页面
   * @Param:HttpServletRequest
   * @Return:增加岗位页路径

   * @Date:2016-3-24 23:50:12
   */
  @RequestMapping("/postAddSave")
  public String postAddSave(HttpServletRequest request) {
      return "/baseService/post/postList";
  }
  
  /**
   * @Description：修改岗位页面
   * @Param:HttpServletRequest
   * @Return:修改岗位页路径

   * @Date:2016-3-24 23:50:12
   */
  @RequestMapping("/postEdit")
  public String postEdit(HttpServletRequest request) {
      return "/baseService/post/postEdit";
  }
  
  /**
   * @Description：修改岗位保存页面
   * @Param:HttpServletRequest
   * @Return:修改岗位页路径

   * @Date:2016-3-24 23:50:12
   */
  @RequestMapping("/postEditSave")
  public String postEditSave(HttpServletRequest request) {
      return "/baseService/post/postList";
  }
  
  @RequestMapping("/copyPost")
  public String copyPost(HttpServletRequest request) {
    return "/baseService/post/copyPost";
  }
}
